package com.simtop;

import com.alibaba.fastjson.JSONObject;

public class test {

    public static void main(String[] args) {

//         String AS = "{\"msg\":\"success\",\"ret\":\"0\",\"data\":{\"queueSize\":0,\"taskId\":\"16637452365185170\"},\"logId\":16637452365185170}";
//        JSONObject jsonObject = JSONObject.parseObject(AS);
//        System.out.println(jsonObject);
//        JSONObject data = jsonObject.getJSONObject("data");
//        Object taskId = data.get("taskId");
//        System.out.println(taskId);
        String aa="11.1wadwd.dwad.mp4";
        String []asa = aa.split("\\.");

        for (String as:asa
             ) {
            System.out.println(as);
        }
        String s = asa[asa.length - 1];
        System.out.println("."+s);

    }
}
